$f: 19.2;
$h: 10.8;

body{
  background: #E0ECE3;

}
.home {
  position: relative;
  width: 100%;
  overflow: hidden;

  .cbg {
    position: absolute;
    left: 0;
    top: 3021/$f+vw;
    z-index: 2;
    img {
      width: 208/$f+vw;
      display: block;
    }
  }

  .cbg2{
    right: 0;
    top: 1350/$f+vw;
    position: absolute;
    z-index: 2;
    img{
      position: relative;
      left: 50/$f+vw;
      top: 0;
      width: 614/$f+vw;
    }
  }

  img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }

  .common_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .section1{
    height: 100vh;
    position: relative;
    z-index: 2;
    border-radius: 0px 0px 90/$f+vw 90/$f+vw;
    backdrop-filter: blur(7.5px);
    background: #EFEDE9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    .t1{
      position: absolute;
      right: 488/$f+vw;
      top: 406/$h+vh;
      z-index: 2;
      width: 46px;
      pointer-events: none;
    }
    .t2{
      position: absolute;
      bottom: 184/$h+vh;
      left: 350/$f+vw;
      width: 58/$f+vw;
      pointer-events: none;
    }
    .text{
      color: rgba(255, 255, 255, 0.60);
      text-align: center;
      text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
      font-size: 64/$f+vw;
      font-style: normal;
      font-weight: 500;
    }
    .position{
      color: #2A746E;
      font-size: 36/$f+vw;
      font-style: normal;
      font-weight: 500;
      line-height: 42/$f+vw; /* 116.667% */
      text-transform: capitalize;
      position: absolute;
      left: 94/$f+vw;
      bottom: 38/$f+vw;
      z-index: 2;
    }
  }

  .section2{
    padding: 250/$f+vw 200/$f+vw 120/$f+vw 120/$f+vw;
    border-radius: 30/$f+vw;
    background: #E0ECE3;
    margin-top: -130/$f+vw;
    position: relative;
    display: flex;
    z-index: 1;
    .t2{
      top: 312/$f+vw;
      left: 998/$f+vw;
      position: absolute;
      width: 58/$f+vw;
      z-index: -1;
      pointer-events: none;
    }
    .t3{
      top: 158/$f+vw;
      right: 155/$f+vw;
      position: absolute;
      z-index: -1;
      pointer-events: none;
    }
    .t1{
      position: absolute;
      left: 0;
      top: 0;
      overflow: hidden;
      img{
        width: 556/$f+vw;
        position: relative;
        left: -16/$f+vw;
        top: -12/$f+vw;
      }
    }
    .r{
      width: 780/$f+vw;
      margin: 120/$f+vw 0 0 52/$f+vw;
      .text{
        color: #518783;
        font-size: 36/$f+vw;
        font-style: italic;
        font-weight: 500;
        line-height: 60/$f+vw; /* 166.667% */
        font-family: 'PINGFANG-MEDIUM';
      }
    }
    .l{
      width: 768/$f+vw;
      position: relative;
      .button{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
        img{
          cursor: pointer;
          pointer-events: auto;
          width: 56/$f+vw;
        }
      }
      .swiper1{
        width: 556/$f+vw;
        height: 640/$f+vw;
        margin: auto;
        .swiper-slide{
          border-radius: 30/$f+vw;
          background: #FFF;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
    }
  }

  .section3{
    padding: 0 200/$f+vw 120/$f+vw 200/$f+vw;
    position: relative;
    z-index: 54;
    .title{
      color: #203D3B;
      font-size: 80/$f+vw;
      font-style: normal;
      font-weight: 500;
      margin: 0 0 80/$f+vw;
      text-align: center;
    }
    .content{
      .flex{
        display: flex;
        justify-content: center;
        &:not(:last-child) {
          margin: 0 0 80/$f+vw;
        }
        .item{
          width: 582/$f+vw;
          &:not(:last-child) {
            margin: 0 356/$f+vw 0 0;
          }
          .img{
            width: 100%;
            height: 346/$f+vw;
            border-radius: 30/$f+vw;
            overflow: hidden;
            cursor: pointer;
            &:hover{
              img{
                transform: scale(1.05);
              }
            }
            img{
              width: 100%;
              height: 100%;
              transition: 1s;
            }
          }
          .text{
            color: #203D3B;
            text-align: center;
            font-size: 32/$f+vw;
            font-style: normal;
            font-weight: 500;
            margin: 40/$f+vw 0 0 0;
          }
        }
      }
    }
  }


  .section4{
    position: relative;
    z-index: 1;
    padding: 80/$f+vw 120/$f+vw 141/$f+vw 120/$f+vw;
    .bg{
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1;
    }
    .title{
      text-align: center;
      margin: 0 0 70/$f+vw;
      h1{
        color: #203D3B;
        font-size: 80/$f+vw;
        font-style: normal;
        font-weight: 500;
        margin: 0 0 30/$f+vw;
      }
      p{
        color: #666;
        font-size: 24/$f+vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }
    }
    .content{
      width: 100%;
      position: relative;
      .button{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
        img{
          cursor: pointer;
          pointer-events: auto;
          width: 56/$f+vw;
        }
      }
      .swiper2{
        width: 1520/$f+vw;
        margin: auto;
        .swiper-slide{
          &.swiper-slide-active{
            .item{
              .img{
                left: -200/$f+vw;
              }
              .text{
                transition: 1s;
                opacity: 1;
                transform: translateY(0);
                transition-delay: .4s;
                pointer-events: auto;
              }
            }
          }
          &.swiper-slide-next{
            .item{
              .img{
                left: 110/$f+vw;
              }
            }
          }
          &.swiper-slide-prev{
            .item{
              .img{
                left: -83/$f+vw;
              }
            }
          }
          .item{
            display: flex;
            align-items: center;
            position: relative;
            .img{
              width: 432/$f+vw;
              height: 348/$f+vw;
              border-radius: 48.906/$f+vw;
              overflow: hidden;
              position: relative;
              left: 0;
              &:hover{
                img{
                  transform: scale(1.05);
                }
              }
              img{
                width: 100%;
                height: 100%;
                transition: 1s;
              }
            }
            .text{
              width: 386/$f+vw;
              position: absolute;
              left: 275/$f+vw;
              opacity: 0;
              transform: translateY(20px);
              transition: .1s;
              pointer-events: none;
              h1{
                color: #203D3B;
                font-size: 36/$f+vw;
                font-style: normal;
                font-weight: 500;
                line-height: 50px; /* 138.889% */
                text-transform: capitalize;
                margin: 0 0 10/$f+vw;
              }
              .pick{
                color: #666;
                font-size: 16/$f+vw;
                font-style: normal;
                font-weight: 500;
                line-height: 28/$f+vw; /* 175% */
                text-transform: capitalize;
                margin: 0 0 10/$f+vw;
              }
              .time{
                color: #999;
                font-size: 16/$f+vw;
                font-style: normal;
                font-weight: 500;
                text-transform: capitalize;
              }
            }
          }

        }
      }
    }
  }

  .section5{
    padding: 120/$f+vw 218/$f+vw 70/$f+vw 235/$f+vw;
    position: relative;
    z-index: 2;
    .i1{
      position: absolute;
      top: 67/$f+vw;
      left: 0;
      width: 65/$f+vw;
      pointer-events: none;
    }
    .i2{
      position: absolute;
      width: 39/$f+vw;
      top: 180/$f+vw;
      left: 141/$f+vw;
      pointer-events: none;
    }
    .i3{
      position: absolute;
      right: 0;
      top: 0;
      pointer-events: none;
      width: 148/$f+vw;
    }
    .title{
      text-align: center;
      margin: 0 0 80/$f+vw;
      h1{
        color: #203D3B;
        font-size: 80/$f+vw;
        font-style: normal;
        font-weight: 500;
        text-transform: capitalize;
        margin: 0 0 30/$f+vw;
      }
      p{
        color: #666;
        font-size: 24/$f+vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }
    }
    .content{
      position: relative;
      &:after{
        background-image: -webkit-linear-gradient(right, #E0ECE3 20%, rgba(235, 237, 240, 0));
        content: "";
        height: 120%;
        position: absolute;
        right: -15px;
        top: -10px;
        width: 150/$f+vw;
        z-index: 2;
      }
      &:before{
        background-image: -webkit-linear-gradient(right, #E0ECE3 20%, rgba(235, 237, 240, 0));
        content: "";
        height: 120%;
        position: absolute;
        left: -15px;
        top: -10px;
        width: 150/$f+vw;
        z-index: 2;
        transform: rotate(180deg);
      }
      .swiper3{
        width: 100%;
        .swiper-wrapper{
          transition-timing-function: linear!important;
        }
        img{
          width: 100%;
          border-radius: 23.729/$f+vw;
        }
      }
    }
  }

  .section_bg {
    padding: 80/$f+vw 200/$f+vw 106/$f+vw 200/$f+vw;
    background: url(../images/contact_bg.png) no-repeat;
    background-size: cover;
    color: white;

    .p1 {
      font-size: 80/$f+vw;
      line-height: 1.5;
    }

    .des {
      font-size: 24/$f+vw;
      line-height: 1.5;
      font-family: 'PINGFANG-MEDIUM';
      margin: 20/$f+vw 0 50/$f+vw 0;
    }
    .button {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: auto;
      border: 0;
      box-shadow: none;
      height: 56/$f+vw;
      line-height: 56/$f+vw;
      padding: 0 2vw 0 76/$f+vw;
      cursor: pointer;
      position: relative;
      &:before {
        content: "";
        display: block;
        width: 56/$f+vw;
        height: 56/$f+vw;
        border-radius: 3.5vw;
        left: 0;
        top: 0;
        bottom: 0;
        transform: scale(1);
        background-color: #2A746E;
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }
      &:before {
        position: absolute;
        background-color: #2A746E;
        right: 0;
      }
      .dot {
        position: absolute;
        overflow: hidden;
        background-color: transparent;
        left: .28vw;
        top: 50%;
        width: 45/$f+vw;
        height: 45/$f+vw;
        transform: translateY(-50%) translateX(0) scale(1);
        box-shadow: 0 0 0 1px #F6EFE2;
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        display: inline-block;
        border-radius: 100%;
        will-change: transform;
        &:before {
          content: "";
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          opacity: 1;
          transform: translateX(0);
          background-image: url(../images/whi.svg);
          background-size: 50% auto;
          transition: all .7s var(--expoOut);
          will-change: transform;
          background-position: center;
          background-repeat: no-repeat;
        }
      }
      .text {
        position: relative;
        color: #fff;
        transform: translateX(0);
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
        font-size: 20/$f+vw;
        font-style: normal;
        font-weight: 700;
        text-transform: uppercase;
      }
      &:hover{
        &:before{
          width: 100%;
          transform: scale(.9);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .dot {
          background-color: #F6EFE2;
          transform: translateY(-50%) translateX(.5vw) scale(.2);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
          &:before {
            opacity: .0001;
            transform: translateX(100%);
            transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
          }
        }
        .text {
          color: #fff;
          transform: translateX(-1vw);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }

      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .cbg{
      img{
        width: 100px;
      }
    }

    .cbg2{
      img{
        width: 100px;
        top: 40vw;
      }
    }


    [aos]{
      transition-delay: unset!important;
    }


    .section1{
      border-radius: 0px 0px 15px 15px;
      height: calc(100vh - 60px);
      .text{
        font-size: 24px;
      }
      .position{
        font-size: 14px;

        line-height: 2;
        bottom: 30px;
        left: 5%;
      }
    }

    .section2{
      padding: 25px 5% 45px 5%;
      flex-direction: column;
      margin-top: 0;
      .l{
        width: 100%;
        .button{
          img{
            width: 35px;
            height: 35px;
          }
        }
        .swiper1{
          width: 70%;
          height: auto;
          .swiper-slide{
            border-radius: 20px;
          }
        }
      }
      .r{
        width: 100%;
        margin: 25px 0 0 0;
        .text{
          font-size: 14px;
          line-height: 2;
        }
      }
    }

    .section3{
      padding: 20px 5% 40px 5%;
      .title{
        font-size: 24px;
        margin: 0 0 15px;
      }
      .content{
        .flex{
          flex-direction: column;
          &:not(:last-child) {
            margin: 0 0 30px;
          }
          .item{
            width: 100%;
            &:not(:last-child) {
              margin: 0 0 30px;
            }
            .img{
              width: 100%;
              height: auto;
            }
            .text{
              font-size: 14px;
              margin: 15px 0 0 0;
            }
          }
        }
      }
    }

    .section4{
      padding: 40px 5% 50px 5%;
      border-radius: 45px 0 45px 0;
      background: #fff;
      .bg{
        display: none;
      }
      .title{
         h1{
           font-size: 24px;
           line-height: 2;
         }
          p{
            font-size: 14px;
            line-height: 2;
          }
      }
      .content{
        .swiper2{
          width: 100%;
          .swiper-slide{
            .item{
              flex-direction: column;
              .img{
                width: 100%;
                height: auto;
                border-radius: 10px;
                left: 0!important;
                transform: scale(1) !important;
              }
              .text{
                position: static;
                opacity: 0;
                transform: translateY(0);
                width: 100%;
                transition-delay: unset!important;
                margin: 25px 0 0 0;
                h1{
                  font-size: 24px;
                  line-height: 1.7;
                  margin: 0 0 20px;
                }
                .pick{
                  font-size: 14px;
                  line-height: 2;
                  margin: 0 0 10px;
                }
                .time{
                  font-size: 14px;
                }
              }
            }
          }
        }
        .button{
          width: 35%;
          margin: 30px auto 0;
          position: static;
          transform: none;
          img{
            width: 35px;
          }
        }
      }
    }

    .section5{
      padding: 50px 5%;
      .i1{
        width: 25px;
      }
      .i2{
        width: 30px;
      }
      .i3{
        width: 50px;
      }
      .title{
        margin: 0 0 20px;
        h1{
          font-size: 24px;
          margin: 0 0 15px;
        }
        p{
          font-size: 14px;
          line-height: 1.5;
        }
      }
      .content{
        &:after{
          width: 80px;
        }
        &:before{
          width: 80px;
        }
      }
    }

    .section_bg{
      padding: 40px 5%;
      .p1{
        font-size: 32px;
      }
      .des{
        font-size: 18px;
        margin: 10px 0 20px 0;
      }
      .button{
        height: 60px;
        padding: 0 35px 0 79px;
        &:before{
          width: 60px;
          height: 60px;
          border-radius: 50%;
        }
        .dot{
          width: 44px;
          height: 44px;
          left: 8px;
        }
        .text{
          font-size: 16px;
        }
        &:hover{
          padding: 0 35px 0 58px;
          &:before{
            border-radius: 35px;
          }
        }
      }
    }
  }
}